
// Source File Name:   RimObjectException.java

package com.sunwayhorizo.health.hl7.common;


import com.sunwayhorizo.health.hl7.datatypes.SET_II;
import com.sunwayhorizo.health.hl7.datatypes.common.SET_IIImpl;

public class RimObjectException extends ValidationException
{

    public static final String RCS_ID = "$Header: RimObjectException.java 1.0 2005/05/13 13:29:14 atomlins noship $";
    public static final boolean RCS_ID_RECORDED = VersionInfo.recordClassVersion("$Header: RimObjectException.java 1.0 2005/05/13 13:29:14 atomlins noship $", "com.sunwayhorizo.health.hl7.common");
    public static final String TOKENS_PARAM = "RIM_TOKENS_PARAM";
    public static final String IIS_PARAM = "RIM_TOKENS_IIS_PARAM";

    public RimObjectException(SET_II set_ii, String as[], String s, String s1, ServiceException aserviceexception[])
    {
        super(s, s1, aserviceexception, new ServiceException[0]);
        setIds(set_ii != null ? set_ii : SET_IIImpl.nullSET_II());
        setTokens(as != null ? as : new String[0]);
    }

    public void initialize()
    {
        super.initialize();
       // m_Attrs.addElement("CTB_RIM_TOKENS_PARAM");
       // m_Attrs.addElement("CTB_RIM_TOKENS_IIS_PARAM");
    }

    public SET_II getIds()
    {
        return (SET_II)getParameter("RIM_TOKENS_IIS_PARAM");
    }

    public void setIds(SET_II set_ii)
    {
        setParameter("RIM_TOKENS_IIS_PARAM", set_ii);
    }

    public void setTokens(String as[])
    {
        setParameter("RIM_TOKENS_PARAM", as);
    }

}
